import { ArkFile } from "arkanalyzer";
import { IssueReport } from "./Defects";
import { FixResult } from "./Fix";

export interface Engine {
    /**
     * 首次调用修复引擎时会调用，不同引擎的后续修复，可以内部单独实现
     * @param arkFile
     * @param issues
     * @returns FixResult
     */
    applyFix(arkFile: ArkFile, issues: IssueReport[]): FixResult | undefined
}